import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
	name: 'size',
})
export class SizePipe implements PipeTransform {
	transform(value: number): string {
		return Math.ceil(value / 1024 / 1024) + 'GB';
	}
}
